package com.gk.study.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;
import java.util.function.Function;


@Repository
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("b_home")
public class Home  {
    public Long id;

    public String title;

    public String cover;

    public String description;

    public String price;

    public String windows;

    public String sheshi;

    public String status;

    public int thingId;
    LocalDateTime createTime;
    String pv;
    @TableField(exist = false)
    public List<Integer> tags; // 标签
    @TableField
    public String wishCount;
    @TableField
    public String collectCount;
}
